package com.xbao.service;

import com.xbao.core.component.page.Pagination;
import com.xbao.model.Cls;
import com.xbao.model.StuClsRel;
import com.xbao.model.req.ClsReq;
import com.xbao.model.vo.ClsVo;
import com.xbao.model.vo.StuVo;

import java.util.List;

/**
 * Created by qingshengzheng on 18/8/24.
 */
public interface ClsService {
    public List<ClsVo> getClsOfStu(Long sid);

    public List<StuClsRel> getClsRelOfStu(Long sid);




    public void addCls(Cls cls);

    public ClsVo detailCls(ClsReq req);

    public void deleteCls(Long id);

    public List<ClsVo> queryCls(ClsReq req);

    public List<ClsVo> queryClsPage(ClsReq req);

    public void updateCls(ClsReq clsReq);


    public void finish(ClsReq req);


    public void joinCls(StuClsRel clsReq);

    public void leaveCls(StuClsRel clsReq);
}